package org.yelongframework.pdm.xml;

class OTable extends BaseModel {

	private static final long serialVersionUID = -2274911553244524285L;

	private String id;

	private String aName;

	private String aCode;

	private String aComment;

	private CColumns cColumns;

	private CKeys cKeys;

	private CPrimaryKey cPrimaryKey;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getaName() {
		return aName;
	}

	public void setaName(String aName) {
		this.aName = aName;
	}

	public String getaCode() {
		return aCode;
	}

	public void setaCode(String aCode) {
		this.aCode = aCode;
	}

	public String getaComment() {
		return aComment;
	}

	public void setaComment(String aComment) {
		this.aComment = aComment;
	}

	public CColumns getcColumns() {
		return cColumns;
	}

	public void setcColumns(CColumns cColumns) {
		this.cColumns = cColumns;
	}

	public CKeys getcKeys() {
		return cKeys;
	}

	public void setcKeys(CKeys cKeys) {
		this.cKeys = cKeys;
	}

	public CPrimaryKey getcPrimaryKey() {
		return cPrimaryKey;
	}

	public void setcPrimaryKey(CPrimaryKey cPrimaryKey) {
		this.cPrimaryKey = cPrimaryKey;
	}

	@Override
	public String toString() {
		return aCode + "(" + aName + ")";
	}

}
